package exam.model.entity;

import java.util.Date;
import exam.model.entity.base.TQuestionEntityRT;

/**
 * <p>TQuestionEntity</p>
 * <p>Table: T_QUESTION</p>
 * 
 * @author Phong
 * @version 09/05/2012
 */
public class TQuestionEntity extends TQuestionEntityRT {

	// QUESTION_ID
	private long questionId;
	// QUESTION_CONTENT
	private String questionContent;
	// QUESTION_TYPE
	private int questionType;
	// QUESTION_MARK
	private int questionMark;
	// CORRECT_NUM
	private int correctNum;
	// SUB_QUEST_ID
	private long subQuestId;
	// USER_ID
	private long userId;	
	// CREATE_DATE
	private Date createDate;
	// UPDATE_DATE
	private Date updateDate;
	
	// Set/Get questionId
	public long getQuestionId() {
		return questionId;
	}
	public void setQuestionId(long questionId) {
		this.questionId = questionId;
	}
	
	// Set/Get questionContent
	public String getQuestionContent() {
		return questionContent;
	}
	public void setQuestionContent(String questionContent) {
		this.questionContent = questionContent;
	}
	
	// Set/Get questionType
	public int getQuestionType() {
		return questionType;
	}
	public void setQuestionType(int questionType) {
		this.questionType = questionType;
	}
	
	// Set/Get questionMark
	public int getQuestionMark() {
		return questionMark;
	}
	public void setQuestionMark(int questionMark) {
		this.questionMark = questionMark;
	}
	
	// Set/Get correctNum
	public int getCorrectNum() {
		return correctNum;
	}
	public void setCorrectNum(int correctNum) {
		this.correctNum = correctNum;
	}
	
	// Set/Get subQuestId
	public long getSubQuestId() {
		return subQuestId;
	}
	public void setSubQuestId(long subQuestId) {
		this.subQuestId = subQuestId;
	}
	
	// Set/Get userId
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	
	// Set/Get createDate
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	// Set/Get updateDate
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	
	/**
	 * Constructor
	 * @param questionId
	 */
	public TQuestionEntity(long questionId) {
		this.questionId = questionId;
	}
	/**
	 * Constructor
	 */
	public TQuestionEntity() {}
}

